package com.solomon.travel.common.model;


public class ApiResponse {
	
	private Integer code;
	private Object data;
	private Page page;
	
	public ApiResponse(){
		
	}
	
	public ApiResponse(Integer code){
		this.code = code;
	}
	
	public ApiResponse(Integer code,  Object data){
		this.code = code;
		this.data = data;
	}
	
	public ApiResponse(Integer code, Object data, Page page) {
		this.code = code;
		this.data = data;
		this.page = page;
	}

	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}

	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}

	public Page getPage() {
		return page;
	}

	public void setPage(Page page) {
		this.page = page;
	}
}
